j3deditor.bin.editor.util
Class GELayout

java.lang.Object
  extended by j3deditor.bin.editor.util.GELayout
All Implemented Interfaces:
java.awt.LayoutManager

public class GELayout
extends java.lang.Object
implements java.awt.LayoutManager

The GELayout class is a layout manager for GeometryEditor.

Author:
Risto Seene
See Also:
GeometryEditor

Constructor Summary
GELayout(int width, int height)
          Creates an instance of GELayout.
GELayout(int width, int height, int vspace, int hspace)
          Creates an instance of GELayout.
 
Method Summary
 void addLayoutComponent(java.lang.String name, java.awt.Component comp)
          Required by LayoutManager.
 void layoutContainer(java.awt.Container parent)
          Required by LayoutManager.
 java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
          Required by LayoutManager.
 java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
          Required by LayoutManager.
 void removeLayoutComponent(java.awt.Component comp)
          Required by LayoutManager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GELayout

public GELayout(int width,
                int height)
Creates an instance of GELayout.

Parameters:
width - width of the most left and right column components
height - height of the top and bottom row components

GELayout

public GELayout(int width,
                int height,
                int vspace,
                int hspace)
Creates an instance of GELayout.

Parameters:
width - width of the most left and right column components
height - height of the top and bottom row components
vspace - vertical space between components
hspace - horizontal space between components
Method Detail

addLayoutComponent

public void addLayoutComponent(java.lang.String name,
                               java.awt.Component comp)
Required by LayoutManager.

Specified by:
addLayoutComponent in interface java.awt.LayoutManager
Parameters:
name - doesn't do anything
comp - doesn't do anything

removeLayoutComponent

public void removeLayoutComponent(java.awt.Component comp)
Required by LayoutManager.

Specified by:
removeLayoutComponent in interface java.awt.LayoutManager
Parameters:
comp - doesn't do anything

preferredLayoutSize

public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
Required by LayoutManager.

Specified by:
preferredLayoutSize in interface java.awt.LayoutManager
Parameters:
parent - doesn't do anything
Returns:
(0, 0)

minimumLayoutSize

public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
Required by LayoutManager.

Specified by:
minimumLayoutSize in interface java.awt.LayoutManager
Parameters:
parent - doesn't do anything
Returns:
(0, 0)

layoutContainer

public void layoutContainer(java.awt.Container parent)
Required by LayoutManager. Lays out the component into the given container.

Specified by:
layoutContainer in interface java.awt.LayoutManager
Parameters:
parent - container which components will be layd out